package com.base.taskreports.reports.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.base.taskreports.common.annotation.TBatchLog;
import com.base.taskreports.reports.entiyt.master.TIndicatorsEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.base.taskreports.reports.dao.pqd.TblDiscountTransDao;
import com.base.taskreports.reports.entiyt.pqd.TblDiscountTransEnyity;
import com.base.taskreports.reports.service.TblDiscountTransService;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 张玉涛
 * @since 2021-11-09
 */
@DS("pqd")
@Service("tblDiscountTransService")
public class TblDiscountTransServiceImpl extends ServiceImpl<TblDiscountTransDao, TblDiscountTransEnyity> implements TblDiscountTransService {

    public List<TIndicatorsEntity> getPQD_M001(String previousDay) {
        return baseMapper.getPQD_M001(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M002(String previousDay) {
        return baseMapper.getPQD_M002(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M003(String previousDay) {
        return baseMapper.getPQD_M003(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M004(String previousDay) {
        return baseMapper.getPQD_M004(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M005(String previousDay) {
        return baseMapper.getPQD_M005(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M006(String previousDay) {
        return baseMapper.getPQD_M006(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M007(String previousDay) {
        return baseMapper.getPQD_M007(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M008(String previousDay) {
        return baseMapper.getPQD_M008(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M009(String previousDay) {
        return baseMapper.getPQD_M009(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M010(String previousDay) {
        return baseMapper.getPQD_M010(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M011(String previousDay) {
        return baseMapper.getPQD_M011(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M012(String previousDay) {
        return baseMapper.getPQD_M012(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M013(String previousDay) {
        return baseMapper.getPQD_M013(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TIndicatorsEntity> getPQD_M014(String previousDay) {
        return baseMapper.getPQD_M014(previousDay
                ,previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

    public List<TblDiscountTransEnyity>  getPQD_M001_Detail(String previousDay){
        return baseMapper.getPQD_M001_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M006_Detail(String previousDay){
        return baseMapper.getPQD_M006_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M007_Detail(String previousDay){
        return baseMapper.getPQD_M007_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M008_Detail(String previousDay){
        return baseMapper.getPQD_M008_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M009_Detail(String previousDay){
        return baseMapper.getPQD_M009_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M010_Detail(String previousDay){
        return baseMapper.getPQD_M010_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M011_Detail(String previousDay){
        return baseMapper.getPQD_M011_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }
    public List<TblDiscountTransEnyity>  getPQD_M012_Detail(String previousDay){
        return baseMapper.getPQD_M012_Detail(previousDay.replace("-","")
                ,previousDay.substring(8)) ;
    }

}
